package com.plian.system.service.sys.log.impl;

import com.plian.system.entity.sys.Loginfo;
import com.plian.system.entity.sys.Pagelist;
import com.plian.system.mapper.sys.LoginfoMapper;
import com.plian.system.service.sys.log.ILoginfoService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author huzb
 * @create 2020-11-20 9:33
 */
@Slf4j
@Service
@AllArgsConstructor
public class LoginfoServiceimpl implements ILoginfoService {

    LoginfoMapper loginfoMapper;
    @Override
    public List<Loginfo> list(Pagelist page) {
        return loginfoMapper.list(page);
    }

    @Override
    public int total() {
        return loginfoMapper.total();
    }
}
